package org.example.DesignPatterns.Adapter;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 14:01
 **/
public class Client {

    public static void main(String[] args) {
//        TriplePin triplePinDevice=new TV();
        DualPin dualPinDevice=new TV();
        TriplePin triplePinDevice=new Adapter(dualPinDevice);
        triplePinDevice.electrify(1,0,-1);

        TriplePin tvAdapter=new TVAdapter();
        tvAdapter.electrify(1,0,-1);
    }
}